package com.lijin.download;

import java.util.HashSet;
import java.util.Set;

public class DownBean {
    //  m3u8文件的路径
    private String m3u8Url;
    //  解析后的需要下载的url
    private Set<String> urls;
    //  保存文件的路径
    private String savePath;
    //  扩展名
    private String extension;
    //  保存文件的名称
    private String saveFileName;

    private Set<String> mergeNames = new HashSet<>();

    public Set<String> getMergeNames() {
        return mergeNames;
    }

    public void setMergeNames(Set<String> mergeNames) {
        this.mergeNames = mergeNames;
    }

    public DownBean(){}

    public DownBean(String m3u8Url, Set<String> urls, String savePath, String extension, String saveFileName) {
        this.m3u8Url = m3u8Url;
        this.urls = urls;
        this.savePath = savePath;
        this.extension = extension;
        this.saveFileName = saveFileName;
    }

    public String getM3u8Url() {
        return m3u8Url;
    }

    public void setM3u8Url(String m3u8Url) {
        this.m3u8Url = m3u8Url;
    }

    public Set<String> getUrls() {
        return urls;
    }

    public void setUrls(Set<String> urls) {
        this.urls = urls;
    }

    public String getSavePath() {
        return savePath;
    }

    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public String getSaveFileName() {
        return saveFileName;
    }

    public void setSaveFileName(String saveFileName) {
        this.saveFileName = saveFileName;
    }
}
